Optimal. Leaf size=80 \[ -\frac{b \sec (e+f x)}{a f (a+b) \sqrt{a+b \sec ^2(e+f x)}}-\frac{\tanh ^{-1}\left (\frac{\sqrt{a+b} \sec (e+f x)}{\sqrt{a+b \sec ^2(e+f x)}}\right )}{f (a+b)^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0921376, antiderivative size = 80, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.174, Rules used = {4134, 382, 377, 207} \[ -\frac{b \sec (e+f x)}{a f (a+b) \sqrt{a+b \sec ^2(e+f x)}}-\frac{\tanh ^{-1}\left (\frac{\sqrt{a+b} \sec (e+f x)}{\sqrt{a+b \sec ^2(e+f x)}}\right )}{f (a+b)^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4134
Rule 382
Rule 377
Rule 207
Rubi steps
\begin{align*} \int \frac{\csc (e+f x)}{\left (a+b \sec ^2(e+f x)\right )^{3/2}} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{1}{\left (-1+x^2\right ) \left (a+b x^2\right )^{3/2}} \, dx,x,\sec (e+f x)\right )}{f}\\ &=-\frac{b \sec (e+f x)}{a (a+b) f \sqrt{a+b \sec ^2(e+f x)}}+\frac{\operatorname{Subst}\left (\int \frac{1}{\left (-1+x^2\right ) \sqrt{a+b x^2}} \, dx,x,\sec (e+f x)\right )}{(a+b) f}\\ &=-\frac{b \sec (e+f x)}{a (a+b) f \sqrt{a+b \sec ^2(e+f x)}}+\frac{\operatorname{Subst}\left (\int \frac{1}{-1-(-a-b) x^2} \, dx,x,\frac{\sec (e+f x)}{\sqrt{a+b \sec ^2(e+f x)}}\right )}{(a+b) f}\\ &=-\frac{\tanh ^{-1}\left (\frac{\sqrt{a+b} \sec (e+f x)}{\sqrt{a+b \sec ^2(e+f x)}}\right )}{(a+b)^{3/2} f}-\frac{b \sec (e+f x)}{a (a+b) f \sqrt{a+b \sec ^2(e+f x)}}\\ \end{align*}
Mathematica [A] time = 0.837625, size = 113, normalized size = 1.41 \[ -\frac{\sec ^3(e+f x) (a \cos (2 (e+f x))+a+2 b) \left (a \sqrt{-a \sin ^2(e+f x)+a+b} \tanh ^{-1}\left (\frac{\sqrt{-a \sin ^2(e+f x)+a+b}}{\sqrt{a+b}}\right )+b \sqrt{a+b}\right )}{2 a f (a+b)^{3/2} \left (a+b \sec ^2(e+f x)\right )^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.355, size = 1094, normalized size = 13.7 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\csc \left (f x + e\right )}{{\left (b \sec \left (f x + e\right )^{2} + a\right )}^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 0.847261, size = 821, normalized size = 10.26 \begin{align*} \left [-\frac{2 \,{\left (a b + b^{2}\right )} \sqrt{\frac{a \cos \left (f x + e\right )^{2} + b}{\cos \left (f x + e\right )^{2}}} \cos \left (f x + e\right ) -{\left (a^{2} \cos \left (f x + e\right )^{2} + a b\right )} \sqrt{a + b} \log \left (\frac{2 \,{\left (a \cos \left (f x + e\right )^{2} - 2 \, \sqrt{a + b} \sqrt{\frac{a \cos \left (f x + e\right )^{2} + b}{\cos \left (f x + e\right )^{2}}} \cos \left (f x + e\right ) + a + 2 \, b\right )}}{\cos \left (f x + e\right )^{2} - 1}\right )}{2 \,{\left ({\left (a^{4} + 2 \, a^{3} b + a^{2} b^{2}\right )} f \cos \left (f x + e\right )^{2} +{\left (a^{3} b + 2 \, a^{2} b^{2} + a b^{3}\right )} f\right )}}, \frac{{\left (a^{2} \cos \left (f x + e\right )^{2} + a b\right )} \sqrt{-a - b} \arctan \left (\frac{\sqrt{-a - b} \sqrt{\frac{a \cos \left (f x + e\right )^{2} + b}{\cos \left (f x + e\right )^{2}}} \cos \left (f x + e\right )}{a + b}\right ) -{\left (a b + b^{2}\right )} \sqrt{\frac{a \cos \left (f x + e\right )^{2} + b}{\cos \left (f x + e\right )^{2}}} \cos \left (f x + e\right )}{{\left (a^{4} + 2 \, a^{3} b + a^{2} b^{2}\right )} f \cos \left (f x + e\right )^{2} +{\left (a^{3} b + 2 \, a^{2} b^{2} + a b^{3}\right )} f}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\csc{\left (e + f x \right )}}{\left (a + b \sec ^{2}{\left (e + f x \right )}\right )^{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\csc \left (f x + e\right )}{{\left (b \sec \left (f x + e\right )^{2} + a\right )}^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]